FROM adoptopenjdk/openjdk8-openj9:alpine-slim
MAINTAINER cjymzjl@foxmail.com

RUN mkdir -p /app/desk

WORKDIR /app/desk

EXPOSE #port

ADD ./target/#jar ./app.jar

ENTRYPOINT java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar app.jar --spring.profiles.active=prod ${APPLICATION_ARGS}
